package ie.lawlor.amvc.component.card;

import ie.lawlor.amvc.Triad;
import ie.lawlor.amvc.component.card.swing.CardView;

import java.util.List;

/**
 * @author brendan
 */
public class CardTriad extends Triad {
	public void setViews(List cardNames){
		CardView view = (CardView)getView();
		view.setCardNames(cardNames);
	}
	
	public List getViews(){
		CardView view = (CardView)getView();
		return view.getCardNames();
	}
}
